package com.liuheng.manager.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.liuheng.spzx.model.dto.product.ProductDto;
import com.liuheng.spzx.model.entity.product.Product;

public interface ProductService extends IService<Product> {
    Page findPage(int page, int limit, ProductDto productDto);

    void saveProduct(Product product);

    Product getProductById(Long id);

    void updateByProductId(Product product);

    void deleteByProductId(Long id);
}
